﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/* Copyright (c) 2014
 * author: Ricky Kratochwil
 * @ date: 2014-07-08 (revisited)
 * @ summary: Derived class from CCoin, used as special item giving more coins
*/

namespace Engine
{
	class CPowerUpDiamond : CPowerUp
	{
		public CPowerUpDiamond(int iX, int iY)
			: base(iX, iY, Const.UTIL_DIAMOND, Properties.Resources.diamond_anim, 12, false)
		{
			//Value
			Random oRand = new Random();
			SetValue(oRand.Next(10, 20));
		}

		public CPowerUpDiamond(int iX, int iY, int iValue)
			: base(iX, iY, Const.UTIL_DIAMOND, Properties.Resources.diamond_anim, 12, true)
		{
			//Value
			SetValue(iValue);
		}
	}
}
